package com.java.comprehensive.design.test.first;

/**
 * @program: comprehensive-service
 * @description:
 * @author: 窦绍飞
 * @create: 2022-02-11 17:06
 **/
public class RegularPrice extends Price {
	@Override
	int getPriceCode() {
		return Movie.REGULAR;
	}

	@Override
	double getCharge(int daysRented) {
		return daysRented * 3;
	}

	@Override
	int getFrequentRenterPoints(int daysRented) {
		return 1;
	}
}
